calculatePage

fun calculatePage(firstIndex: Int, resultsSize: Int): Int

Return

calculated page number which can be correctly used in PaginationResult as PaginationResult.page value